package service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import dao.SysMenusDAO;
import pojo.SysMenus;
@Service
public class SysMenusServiceImpl implements SysMenusService{
	@Autowired
	private SysMenusDAO dao;
	@Override
	public List<SysMenus> queryMenu(int id) {
		
		return dao.queryMenu(id);
	}

    @Override
    public List<SysMenus> queryMenuTwo(int id) {
        return dao.queryMenuTwo(id);
    }

}
